package com.hangzhou.xyj.model;

import com.j256.ormlite.field.DatabaseField;
import com.j256.ormlite.table.DatabaseTable;

import java.io.Serializable;

/**
 * Created by yaohuix on 2016/4/23  16:35
 * <p/>
 * 说明：用于环信保存 用户的基本信息
 */
@DatabaseTable(tableName = "emuser")
public class SimpleUserModel implements Serializable {
    @DatabaseField(columnName = "_headPic")
    private String headPic;//头像地址
    @DatabaseField(id = true, columnName = "_id")
    private String userId;//用户ID
    @DatabaseField(columnName = "_nickName")
    private String nickName;//用户昵称

    public SimpleUserModel() {
    }

    public SimpleUserModel(String headPic, String nickName, String userId) {
        this.headPic = headPic;
        this.nickName = nickName;
        this.userId = userId;
    }

    public String getHeadPic() {
        return headPic;
    }

    public void setHeadPic(String headPic) {
        this.headPic = headPic;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }
}
